﻿#ifndef STATISTICSTABLE_H
#define STATISTICSTABLE_H

#include <QWidget>
#include <QMenu>
#include <QToolButton>
#include <QSpinBox>
#include <QLabel>
#include <QJsonObject>
#include <QPushButton>
#include <QTableView>
#include "StatisticsTableModel.h"


class StatisticsTable : public QWidget
{
    Q_OBJECT
public:
    explicit StatisticsTable(QWidget *parent = nullptr);

signals:

private:
    void setupUi();
    void initConnection();

//var
public:
    StatisticsTableModel* model;
//control
public:
    QTableView* tblView;
    QPushButton* pbtnExportData;
};

#endif // STATISTICSTABLE_H
